{% load i18n %}
{% if list %}
    {% for case in list %}
        <li><span>
            <a href="/caseedit/{{ case.id }}">[{% trans 'Edit' %}]</a>
            <a href="/problem/list/{{ case.id }}">[{% trans 'Edit problem' %}]</a>
            <a href="/case/attachment/edit/?caseId={{ case.id }}">[{% trans 'Edit Attach' %}]</a>
            </span>
            <a href="/case/{{ case.id }}" target="_blank">
                【
                {% ifequal LANGUAGE_CODE 'zh-cn' %}
                    {{ case.industry.name_cn }}
                {% else %}
                    {{ case.industry.name }}
                {% endifequal %}】{{ case.name|safe|truncatechars:15 }}</a>
        </li>
    {% endfor %}
{% else %}
    {% trans 'No data' %}
{% endif %}